package org.szgb.console.sys.department.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import org.szgb.console.sys.department.entity.SysDepartment;

import java.util.List;

@Mapper
@Repository
public interface SysDepartmentMapper {
    SysDepartment get(String id);

    List<SysDepartment> findList(SysDepartment entity);

    Integer getCount(SysDepartment entity);

    void insert(SysDepartment entity);

    void update(SysDepartment entity);

    void delete(String[] ids);
}
